package cn.jellybmedia.user.mapper;

import cn.jellybmedia.user.domain.User;
import cn.jellybmedia.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ChuengXu
 * @since 2022-07-05
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    // 通过手机号查询用户信息
    User loadByPhone(String phone);

    User loadByEmail(String email);
}
